/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.OneCommerceProject.controllers.util;

/**
 *
 * @author AyMeN
 */
import java.util.ArrayList;  
import java.util.List;  
import java.util.Map;  
import java.util.TreeMap;  
import javax.annotation.PostConstruct;  
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

@ManagedBean
@ApplicationScoped
public class ThemeSwitcherBean {  
          
    private Map<String, String> themes;                    
    public Map<String, String> getThemes() {  
        return themes;  
    }    
  
    @PostConstruct  
    public void init() {                    
        themes = new TreeMap<String, String>();
        themes.put("Redmond", "redmond");        
        themes.put("Start", "start");
        themes.put("Humanity", "humanity");
        themes.put("Le-frog", "le-frog");
        themes.put("Midnight", "midnight");
    }        
}
